package com.linko.intelligent.common;

public interface Constant {

    /**
     * 签名key
     */
    public static final String JWT_KEY = "spring-security-@Jwt!&Secret^#";
    public static final long JWT_EXPIRATION = 365 * 24 * 60 * 60 * 1000;
    public final String JWT_FLAG = "TOKEN:Bearer";
    public final String SHIP_FLAG = "SHIP:";
    public static final String REDIS_INPUTCFG = "INPUTCFG:";
    public static final String REDIS_OUTPUTCFG = "OUTPUTCFG:";

    public static final String REDIS_INPUTTCPCFG = "INPUTTCPCFG:";

    public static int USER_EXIST = 2;
    public static int USER_NOT_EXITS = 3;
    public static int SUCCESS = 1;
    public static int FAIL = 0;
    public static int UNKNOWN = -1;

    public static long TYPE_ADMIN_COMPANY = 1;
    public static long TYPE_ADMIN_ENTERPRISE = 0;
    public static long TYPE_ADMIN_FILE = 2;

    public static long TYPE_FILE_ENTERPRISE = 0;
    public static long TYPE_FILE_SHARE = 1;
    public static long TYPE_FILE_DEPT = 2;
    String MQTT_EQUIPMENT_WARING_HEADER = "equipment_waring_";

}
